package cn.ainit.yz.execut;

import java.util.List;

import cn.ainit.yz.execut.entity.Execut;
import cn.ainit.yz.execut.entity.ExecutFM;
import cn.ainit.yz.execut.entity.ExecutZD;
import cn.ainit.yz.execut.entity.ExecutZW;
import cn.ainit.yz.printexplain.entity.PrintExplainFM;
import cn.ainit.yz.printexplain.entity.PrintExplainZD;
import cn.ainit.yz.printexplain.entity.PrintExplainZW;

public interface ExecutDao {
	/**
	 * 保存施工单
	 * @param printExplain
	 * @return
	 * @throws Exception
	 * @author wyang
	 * @date : 2014-2-28 下午01:14:14
	 */
	boolean saveExBase(Execut execut)throws Exception;
	/**
	 * 修改施工单
	 * @param execut
	 * @return
	 * @throws Exception
	 * @author wyang
	 * @date : 2014-2-28 下午01:15:05
	 */
	boolean updateExBase(Execut execut)throws Exception;
	/**
	 * 保存封面印刷
	 * @param executFMs
	 * @param peId
	 * @return
	 * @throws Exception
	 * @author wyang
	 * @date : 2014-2-28 下午03:16:12
	 */
	List saveExFM(List<ExecutFM> executFMs, String peId)throws Exception;
	/**
	 * 保存正文印刷
	 * @param executZWs
	 * @param peId
	 * @return
	 * @throws Exception
	 * @author wyang
	 * @date : 2014-3-3 上午10:27:06
	 */
	List<String> saveExZW(List<ExecutZW> executZWs, String peId)throws Exception;
	/**
	 * 保存装订项目
	 * @param executZDs
	 * @param peId
	 * @return
	 * @throws Exception
	 * @author wyang
	 * @date : 2014-3-3 上午10:27:42
	 */
	List<String> saveExZD(List<ExecutZD> executZDs, String peId)throws Exception;
	/**
	 * 查找封面的数据
	 * @param ysId
	 * @return
	 * @throws Exception
	 * @author wyang
	 * @date : 2014-2-27 上午10:54:10
	 */
	List<ExecutFM> findFMList(String ysId) throws Exception;
	/**
	 * 查找装订项目的数据
	 * @param ysId
	 * @return
	 * @throws Exception
	 * @author wyang
	 * @date : 2014-2-27 上午10:54:23
	 */
 	List<ExecutZD> findZDList(String ysId) throws Exception;
 	/**
 	 * 查找正文印刷的数据
 	 * @param ysId
 	 * @return
 	 * @throws Exception
 	 * @author wyang
 	 * @date : 2014-2-27 上午10:54:41
 	 */
 	List<ExecutZW> findZWList(String ysId) throws Exception;
 	/**
 	 * 根据施工单生成印厂入库单
 	 * @param exId
 	 * @return
 	 * @throws Exception
 	 * @author wyang
 	 * @date : 2014-3-26 下午04:27:19
 	 */
 	String exeToSprk(String exId,String oId) throws Exception;
}
